<?php




















//require_once 'Proxy.php';
//require_once 'Browser.php';
//$proxy  = new Proxy();
//
//$browser = new Browser();
//
//$url = 'http://www.tophotels.ru/main/top100/100/';
//$result = $browser->get( $url );
//$result = iconv('windows-1251', 'utf-8', $result);
//$result = preg_replace('/\n/iU', '', $result);
//
//$matched = array();
////http://www.tophotels.ru/main/hotel/al5055/
//preg_match_all('!class="parity\d+".*title="(.*)"\ target="_blank"\ href="(.*)"!iU', $result, $matched);
//
//print_r($matched);
////print_r($result);
